<ul class="nav nav-tabs" ng-init="checkarray(pagedata.item,'tabs')">
	<li ng-repeat="tab in pagedata.item.tabs"><a href="javascript:;" ng-click="pagedata.edit_tab(tab)">{{tab.title}}</a><em class="jy-close" href="javascript:;" ng-click="pagedata.item.tabs.splice($index,1)">×</em></li>
	<li><a href="javascript:;" ng-click="i=pagedata.item.tabs.push({'title':'导航名称'});pagedata.edit_tab(pagedata.item.tabs[i-1])"><i class="fa fa-plus"></i>添加导航</a></li>
	<li><a href="javascript:;" ng-click="pagedata.modal('setting')">页面基本信息设置</a></li>
</ul>
<!-- 筛选-->
<div class="keyword-list-head edit_class" ng-init="checkobj(pagedata.item,'search_one')" ng-show="pagedata.item.search_type==1" ng-click="pagedata.modal('edit_search_one')">
	<div class="keyword-list-head clearfix">
		<div class="pull-right" ng-show="pagedata.item.search_one.add">
			<a href="javascript:;" class="btn btn-primary">+{{pagedata.item.search_one.add_title}}</a>
		</div>
		<div class="input-group jinyun-margin-bottom" style="width:466px;">
			<div class="input-group-btn" style="font-size:14px" ng-show="pagedata.item.search_one.select_name">
				<select  class="jinyun-select mass-group" >
					<option value="" selected="selected">{{pagedata.item.search_one.select_title}}</option>
				</select>
			</div>
			<input class="form-control" type="text" value="" placeholder="" style="width: 430px;">
			<span class="input-group-btn"><button class="btn btn-primary"><i class="fa fa-search"></i></button></span>
		</div>
	</div>
</div>
<div class="panel panel-info form-horizontal" ng-init="checkarray(pagedata.item,'search')" ng-show="pagedata.item.search_type==2">
	<div class="panel-heading">筛选</div>
	<div class="panel-body" >
		<!-- 添加按钮-->
		<div ng-repeat="seh in pagedata.item.search" ng-include="sys_html('app_develop/plugin/show_edit/edit/'+seh.type)" onload="pagedata.start()"></div>
		<div class="pull-left col-xs-12 col-sm-3 col-md-2 col-lg-2 edit_class" ng-click="i=pagedata.item.search.push({});pagedata.edit_search(pagedata.item.search[i-1])">
			<button class="btn btn-primary"><i class="fa fa-plus"></i>添加一个筛选项</button>
		</div>
		<div class="pull-left col-xs-12 col-sm-3 col-md-2 col-lg-2">
			<button class="btn btn-primary"><i class="fa fa-search"></i> 搜索</button>
		</div>
	</div>
</div>
<div class="clearfix table-responsive" ng-init="checkarray(pagedata.item,'list')">
	<div class="alert alert-success alert-dismissable edit_class" ng-click="pagedata.edit(pagedata.item,'tip','设置提示信息')">
		<i class="fa fa-bullhorn alert-link"></i>{{pagedata.item.tip}}
	</div>
	<table class="table jinyun-table table-hover vertical-middle jinyun-form">
		<thead class="navbar-inner">
			<tr>
				<th class="text-left edit_class" ng-show="pagedata.item.delall" ng-click="pagedata.edit(pagedata.item,'del_title','按钮名称','留空表示不显示批量删除按钮')">{{pagedata.item.del_title}}</th>
				<th ng-repeat="th in pagedata.item.list" ><span class="edit_class" ng-click="pagedata.edit_th(th)">{{th.title}}</span> <em class="jy-close" href="javascript:;" ng-click="pagedata.item.list.splice($index,1)">×</em></th>
				<th class="edit_class" ng-click="i=pagedata.item.list.push({'title':'列名','fields':[]});pagedata.edit_th(pagedata.item.list[i-1])">添加列</th>
				<th class="text-right edit_class" style="word-break : break-all;" ng-click="pagedata.modal('edit_action')">操作</th>
			</tr>
		</thead>
			<tr class="edit_class" ng-repeat="exp in pagedata.exps" ng-show="$index<pagedata.item.page_num" ng-click="pagedata.edit(pagedata.item,'page_num','每页显示数量','填写列表每页显示数据的条数。请填写100以内的正整数')">
				<td class="text-left">
					<label ng-show="pagedata.item.delall"  class="text-over reply-item-name">
					<input  type="checkbox">&nbsp;</label>
				</td>
				<th ng-repeat="th in pagedata.item.list"><span ng-repeat="field in th.fields">【{{field.field_name}}】</span></th>
				<th ></th>
				<td class="text-right">
					<a href="javascript:;" ng-repeat="action in pagedata.item.action" class="btn btn-primary">{{action.title}}</a>
					<a ng-show="pagedata.item.edit" href="javascript:;" class="btn btn-primary">编辑</a>
					<a ng-show="pagedata.item.del_one" href="javascript:;" title="删除" class="btn btn-primary btn-sm"><i class="fa fa-times"></i></a>
				</td>
			</tr>
	</table>
	<div class="jinyun-form" ng-show="pagedata.item.delall">
		<label>
		<input type="checkbox" name=""  class="jinyun-margin-left" onclick="var ck = this.checked;$(':checkbox').each(function(){if(this.checked != ck){$(this).click();}});">&nbsp;</label>
		<button class="btn btn-danger edit_class" ng-click="pagedata.edit(pagedata.item,'del_title','按钮名称','留空表示不显示批量删除按钮')">{{pagedata.item.del_title}}</button>
	</div>
	<div  class="text-right" ng-show="pagedata.item.pagelist" ng-click="pagedata.modal('setting')">
		<ul class="pagination pagination-centered">
			<li><a href="javascript:;" class="pager-nav">首页</a></li>
			
			<li class="active"><a href="javascript:;" class="pager-nav">1</a></li>
			<li><a href="javascript:;" class="pager-nav">2</a></li>
			<li><a href="javascript:;" class="pager-nav">尾页</a></li>
		</ul>
	</div>
</div>
<!-- 精简型搜索框-->
<div id="floating-content-edit_search_one"  class="modal fade"  tabindex="-1" style="z-index:2000;display:none">
    <div class="jinyun-modal-dialog modal-dialog" style='width: 920px;'>
        <div class="modal-content">
            <div class="modal-header"><button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button><h3>设置搜索框样式</h3></div>
			<div class="modal-body">
			<div class="form-group">
				<label class="col-xs-12 col-sm-3 col-md-2 left-label">主筛选字段</label>
				<div class="col-xs-12 col-sm-8 col-lg-9">
					<select class="form-control" ng-model="pagedata.item.search_one.name">
						<option value="" selected>请选择筛选字段</option>
						<option ng-repeat="field in pagedata.fields" ng-selected="pagedata.item.search_one.name==field.name" value="{{field.name}}" >{{field.title}}</option>
					</select>
					<div class="help-block"></div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-xs-12 col-sm-3 col-md-2 left-label">下拉筛选字段</label>
				<div class="col-xs-12 col-sm-8 col-lg-9">
					<select class="form-control" ng-model="pagedata.item.search_one.select_name">
						<option value="" selected>请选择筛选字段</option>
						<option ng-repeat="field in pagedata.fields" ng-selected="pagedata.item.search_one.select_name==field.name" value="{{field.name}}" >{{field.title}}</option>
					</select>
					<div class="help-block">指左侧下拉框选择对应的字段，不设置则不显示左侧下拉框</div>
				</div>
			</div>
			<div class="form-group" ng-show="pagedata.item.search_one.select_name">
					<label class="col-xs-12 col-sm-3 col-md-2 left-label">下拉提示内容</label>
					<div class="col-xs-12 col-sm-8 col-lg-9">
						<input type="text" class="form-control " ng-model="pagedata.item.search_one.select_title"/>
						<div class="help-block"></div>
					</div>
			</div>
			<div class="form-group" >
					<label class="col-xs-12 col-sm-3 col-md-2 left-label">是否显示右侧添加按钮</label>
					<div class="col-xs-12 col-sm-8 col-lg-9">
						<label class="left-label">
							<div ng-show="pagedata.item.search_one.add" class="switch  switchOn" ng-click="pagedata.item.search_one.add=false"></div>
							<div ng-show="!pagedata.item.search_one.add" class="switch" ng-click="pagedata.item.search_one.add=true"></div>
						</label>
						<div class="help-block"></div>
					</div>
			</div>
			<div class="form-group" ng-show="pagedata.item.search_one.add">
					<label class="col-xs-12 col-sm-3 col-md-2 left-label">添加按钮标题</label>
					<div class="col-xs-12 col-sm-8 col-lg-9">
						<input type="text" class="form-control " ng-model="pagedata.item.search_one.add_title"/>
						<div class="help-block"></div>
					</div>
			</div>
			<div class="form-group" ng-show="pagedata.item.search_one.add">
				<label class="col-xs-12 col-sm-3 col-md-2 left-label">点击添加按钮跳转op</label>
				<div class="col-xs-12 col-sm-8 col-lg-9">
					<select class="form-control" ng-model="pagedata.item.search_one.add_op">
						<option value="" selected>请选择动作页面</option>
						<option ng-repeat="field in pagedata.ops" ng-selected="pagedata.item.search_one.add_op==field.name" value="{{field.name}}" >{{field.title}}</option>
					</select>
					<div class="help-block">添加按钮目前只支持跳转当前页其他动作</div>
				</div>
			</div>
			</div>
            <div class="modal-footer"><a href="javascript:;" aria-hidden="true" data-dismiss="modal" class=" btn btn-primary">确定</a></div>
        </div>
    </div>
</div>
<!-- 页面基本参数设置-->
<div id="floating-content-setting"  class="modal fade"  tabindex="-1" style="z-index:2000;display:none">
    <div class="jinyun-modal-dialog modal-dialog" style='width: 920px;'>
        <div class="modal-content">
            <div class="modal-header"><button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button><h3>设置页面基本参数</h3></div>
			<div class="modal-body">
			<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 left-label">页面标题</label>
					<div class="col-xs-12 col-sm-8 col-lg-9">
						<input type="text" class="form-control " ng-model="pagedata.item.title"  />
						<div class="help-block">设置页面标题</div>
					</div>
			</div>
			<div class="form-group" >
				<label class="col-xs-12 col-sm-3 col-md-2 left-label">搜索框样式</label>
				<div class="col-xs-12 col-sm-8 col-lg-9">
					<div class="radio radio-inline" ng-repeat="(value,dtitle) in pagedata.sousuo_types">
						<label>
							<input type="radio" value="{{value}}" ng-model="pagedata.item.search_type"/>{{dtitle}}
						</label>
					</div>
					<div class="help-block"></div>
				</div>
			</div>
			
			<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 left-label">每页显示数量</label>
					<div class="col-xs-12 col-sm-8 col-lg-9">
						<input type="text" class="form-control " ng-model="pagedata.item.page_num"  />
						<div class="help-block"></div>
					</div>
			</div>
			<div class="form-group" >
					<label class="col-xs-12 col-sm-3 col-md-2 left-label">是否显示删除按钮</label>
					<div class="col-xs-12 col-sm-8 col-lg-9">
						<label class="left-label">
							<div ng-show="pagedata.item.delall" class="switch  switchOn" ng-click="pagedata.item.delall=false"></div>
							<div ng-show="!pagedata.item.delall" class="switch" ng-click="pagedata.item.delall=true"></div>
						</label>
						<div class="help-block"></div>
					</div>
			</div>
			</div>
            <div class="modal-footer"><a href="javascript:;" aria-hidden="true" data-dismiss="modal" class=" btn btn-primary">确定</a></div>
        </div>
    </div>
</div>
<!-- 筛选项参数设置-->
<div id="floating-content-edit_search"  class="modal fade"  tabindex="-1" style="z-index:2000;display:none">
    <div class="jinyun-modal-dialog modal-dialog" style='width: 920px;'>
        <div class="modal-content">
            <div class="modal-header"><button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button><h3>设置筛选项参数</h3></div>
			<div class="modal-body">
			<div class="form-group">
				<label class="col-xs-12 col-sm-3 col-md-2 left-label">选择字段</label>
				<div class="col-xs-12 col-sm-8 col-lg-9">
					<select class="form-control" ng-model="pagedata.current_search.name">
						<option value="" selected>请选择筛选字段</option>
						<option ng-repeat="field in pagedata.fields" ng-selected="pagedata.current_search.name==field.name" value="{{field.name}}" >{{field.title}}</option>
					</select>
					<div class="help-block"></div>
				</div>
			</div>
			</div>
            <div class="modal-footer"><a href="javascript:;" aria-hidden="true" data-dismiss="modal" class=" btn btn-primary">确定</a></div>
        </div>
    </div>
</div>
<!--列管理 -->
<div id="floating-content-edit_th"  class="modal fade"  tabindex="-1" style="z-index:2000;display:none">
    <div class="jinyun-modal-dialog modal-dialog" style='width: 920px;'>
        <div class="modal-content">
            <div class="modal-header"><button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button><h3>设置列参数</h3></div>
			<div class="modal-body form-horizontal">
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 left-label">列名</label>
					<div class="col-xs-12 col-sm-8 col-lg-9">
						<input type="text" class="form-control " ng-model="pagedata.current_th.title"  />
						<div class="help-block"></div>
					</div>
				</div>
				<div class="form-group-title">
					显示项目管理
				</div>
				<div class="table-responsive" class="panel-body">
						<table class="table jinyun-table table-hover vertical-middle jinyun-form">
							<thead>
								<tr>
									<th>类型</th>
									<th>名称</th>
									<th class="text-right" style="word-break : break-all;">操作</th>
								</tr>
							</thead>
							<tbody id="re-items">
								<tr ng-repeat="field in pagedata.current_th.fields">
									<td>{{pagedata.list_field_types[field.type]}}</td>
									<td>{{field.field_name}}</td>
									<td class="text-right">
										<a href="javascript:;" ng-click="pagedata.current_th.fields.splice($index,1)" title="删除此条目" class="btn btn-primary btn-sm"><i class="fa fa-times"></i></a> &nbsp;
										<a href="javascript:;" title="编辑" ng-click="pagedata.edit_th_one(field)" class="btn btn-primary btn-sm"><i class="fa fa-edit"></i></a>
									</td>
								</tr>
								<tr>
									<td colspan='3' class="text-left">
										<a class="color-gray add-new-keyword" href="javascript:;" ng-click="i=pagedata.current_th.fields.push({});pagedata.edit_th_one(pagedata.current_th.fields[i-1])">
											<span class="add-icon"><i class="fa fa-plus"></i></span>
											<span class="text">添加一项</span>
										</a>
									</td>
								</tr>
							</tbody>
						</table>
				</div>
			</div>
            <div class="modal-footer"><a href="javascript:;" aria-hidden="true" data-dismiss="modal" class=" btn btn-primary">确定</a></div>
        </div>
    </div>
</div>
<!--列显示项目参数设置-->
<div id="floating-content-edit_th_one"  class="modal fade"  tabindex="-1" style="z-index:2001;display:none">
    <div class="jinyun-modal-dialog modal-dialog" style='width: 920px;'>
        <div class="modal-content">
            <div class="modal-header"><button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button><h3>设置显示项参数</h3></div>
			<div class="modal-body">
			<div class="form-group">
				<label class="col-xs-12 col-sm-3 col-md-2 left-label">类型</label>
				<div class="col-xs-12 col-sm-8 col-lg-9">
					<div class="radio radio-inline" ng-repeat="(value,dtitle) in pagedata.list_field_types">
						<label>
							<input type="radio" value="{{value}}" ng-model="pagedata.current_th_field.type"/>{{dtitle}}
						</label>
					</div>
					<div class="help-block"></div>
				</div>
			</div>
			<div class="form-group" ng-show="pagedata.current_th_field.type!=2">
				<label class="col-xs-12 col-sm-3 col-md-2 left-label">选择字段</label>
				<div class="col-xs-12 col-sm-8 col-lg-9">
					<select class="form-control" ng-model="pagedata.current_th_field.field_name">
						<option value="" selected>请选择字段</option>
						<option ng-repeat="field in pagedata.fields" ng-selected="pagedata.current_search.name==field.name" value="{{field.name}}" >{{field.title}}</option>
					</select>
					<div class="help-block"></div>
				</div>
			</div>
			<div class="form-group" ng-show="pagedata.current_th_field.type==1">
					<label class="col-xs-12 col-sm-3 col-md-2 left-label">允许编辑</label>
					<div class="col-xs-12 col-sm-8 col-lg-9">
						<label class="left-label">
							<div ng-show="pagedata.current_th_field.field_edit" class="switch  switchOn" ng-click="pagedata.current_th_field.field_edit=false"></div>
							<div ng-show="!pagedata.current_th_field.field_edit" class="switch" ng-click="pagedata.current_th_field.field_edit=true"></div>
						</label>
						<div class="help-block">如果开启，则在列表页点击该项目时可以直接进行编辑</div>
					</div>
			</div>
			<div class="form-group" ng-show="pagedata.current_th_field.type==2">
				<label class="col-xs-12 col-sm-3 col-md-2 left-label">按钮类型</label>
				<div class="col-xs-12 col-sm-8 col-lg-9">
					<div class="radio radio-inline" ng-repeat="(value,dtitle) in pagedata.action_types">
						<label>
							<input type="radio" value="{{value}}" ng-model="pagedata.current_th_field.action_type"/>{{dtitle}}
						</label>
					</div>
					<div class="help-block"></div>
				</div>
			</div>
			<div class="form-group" ng-show="pagedata.current_th_field.type==2">
					<label class="col-xs-12 col-sm-3 col-md-2 left-label">按钮名称</label>
					<div class="col-xs-12 col-sm-8 col-lg-9">
						<input type="text" class="form-control " ng-model="pagedata.current_th_field.field_name"  />
						<div class="help-block"></div>
					</div>
			</div>
			<div class="form-group" ng-show="pagedata.current_th_field.type==2 && (pagedata.current_th_field.action_type=='href' || pagedata.current_th_field.action_type=='modal')">
					<label class="col-xs-12 col-sm-3 col-md-2 left-label">页面地址</label>
					<div class="col-xs-12 col-sm-8 col-lg-9">
						<div class="input-group">
							<input type="text" class="form-control" placeholder="选择页面"  ng-model="pagedata.current_th_field.url"/>
							<span class="input-group-btn">
								<button class="btn btn-primary" type="button" ng-click="pagedata.choose_url(pagedata.current_th_field,'url')"><i class="fa fa-external-link"></i>选择页面</button>
							</span>
						</div>
						<div class="help-block"></div>
					</div>
			</div>
			<div class="form-group" ng-show="pagedata.current_th_field.type==2 && pagedata.current_th_field.action_type=='post'">
				<label class="col-xs-12 col-sm-3 col-md-2 left-label">设置动作</label>
				<div class="col-xs-12 col-sm-8 col-lg-9">
						<div class="input-group">
							<input type="text" class="form-control" placeholder=""  ng-model="pagedata.current_th_field.url" readonly />
							<span class="input-group-btn">
								<button class="btn btn-primary" type="button" ng-click="pagedata.op_design(pagedata.current_th_field,'url',pagedata.current_th_field.url)"><i class="fa fa-external-link"></i>设置动作</button>
							</span>
						</div>
						<div class="help-block"></div>
				</div>
				
			</div>
			</div>
            <div class="modal-footer"><a href="javascript:;" aria-hidden="true" data-dismiss="modal" class="btn btn-primary">确定</a></div>
        </div>
    </div>
</div>
<!--操作项设置-->
<div id="floating-content-edit_action"  class="modal fade"  tabindex="-1" style="z-index:2000;display:none">
    <div class="jinyun-modal-dialog modal-dialog" style='width: 920px;'>
        <div class="modal-content">
            <div class="modal-header"><button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button><h3>设置列表操作项</h3></div>
			<div class="modal-body form-horizontal">
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 left-label">是否显示编辑按钮</label>
					<div class="col-xs-12 col-sm-8 col-lg-9">
						<label class="left-label">
							<div ng-show="pagedata.item.edit" class="switch  switchOn" ng-click="pagedata.item.edit=false"></div>
							<div ng-show="!pagedata.item.edit" class="switch" ng-click="pagedata.item.edit=true"></div>
						</label>
						<div class="help-block"></div>
					</div>
				</div>
			<div class="form-group" ng-show="pagedata.item.edit">
					<label class="col-xs-12 col-sm-3 col-md-2 left-label">页面地址</label>
					<div class="col-xs-12 col-sm-8 col-lg-9">
						<div class="input-group">
							<input type="text" class="form-control" placeholder="选择页面"  ng-model="pagedata.item.edit_op"/>
							<span class="input-group-btn">
								<button class="btn btn-primary" type="button" ng-click="pagedata.choose_url(pagedata.item,'edit_op')"><i class="fa fa-external-link"></i>选择页面</button>
							</span>
						</div>
						<div class="help-block"></div>
					</div>
			</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 left-label">是否显示删除按钮</label>
					<div class="col-xs-12 col-sm-8 col-lg-9">
						<label class="left-label">
							<div ng-show="pagedata.item.del_one" class="switch  switchOn" ng-click="pagedata.item.del_one=false"></div>
							<div ng-show="!pagedata.item.del_one" class="switch" ng-click="pagedata.item.del_one=true"></div>
						</label>
						<div class="help-block"></div>
					</div>
				</div>
				<div class="form-group" ng-show="pagedata.item.del_one">
						<label class="col-xs-12 col-sm-3 col-md-2 left-label">点击删除按钮时的消息提示</label>
						<div class="col-xs-12 col-sm-8 col-lg-9">
							<input type="text" class="form-control " ng-model="pagedata.item.del_message"  />
							<div class="help-block"></div>
						</div>
				</div>
				<div class="form-group-title">
					添加管理其他操作按钮
				</div>
				<div class="table-responsive" class="panel-body" ng-init="checkarray(pagedata.item,'action')">
						<table class="table jinyun-table table-hover vertical-middle jinyun-form">
							<thead>
								<tr>
									<th>按钮名称</th>
									<th>按钮类型</th>
									<th class="text-right" style="word-break : break-all;">操作</th>
								</tr>
							</thead>
							<tbody id="re-items">
								<tr ng-repeat="ac in pagedata.item.action">
									<td>{{ac.title}}</td>
									<td>{{ac.type}}</td>
									<td class="text-right">
										<a href="javascript:;" ng-click="pagedata.item.action.splice($index,1)" title="删除此条目" class="btn btn-primary btn-sm"><i class="fa fa-times"></i></a> &nbsp;
										<a href="javascript:;" title="编辑" ng-click="pagedata.edit_action_one(ac)" class="btn btn-primary btn-sm"><i class="fa fa-edit"></i></a>
									</td>
								</tr>
								<tr>
									<td colspan='2' class="text-left">
										<a class="color-gray add-new-keyword" href="javascript:;" ng-click="i=pagedata.item.action.push({});pagedata.edit_action_one(pagedata.item.action[i-1])">
											<span class="add-icon"><i class="fa fa-plus"></i></span>
											<span class="text">添加一个按钮</span>
										</a>
									</td>
								</tr>
							</tbody>
						</table>
				</div>
			</div>
            <div class="modal-footer"><a href="javascript:;" aria-hidden="true" data-dismiss="modal" class=" btn btn-primary">确定</a></div>
        </div>
    </div>
</div>
<!-- 操作按钮参数设置-->
<div id="floating-content-edit_action_one"  class="modal fade"  tabindex="-1" style="z-index:2001;display:none">
    <div class="jinyun-modal-dialog modal-dialog" style='width: 920px;'>
        <div class="modal-content">
            <div class="modal-header"><button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button><h3>设置操作按钮参数</h3></div>
			<div class="modal-body form-horizontal">
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 left-label">按钮名称</label>
					<div class="col-xs-12 col-sm-8 col-lg-9">
						<input type="text" class="form-control " ng-model="pagedata.current_edit_action.title"  />
						<div class="help-block">设置按钮名称</div>
					</div>
				</div>
			<div class="form-group">
				<label class="col-xs-12 col-sm-3 col-md-2 left-label">按钮类型</label>
				<div class="col-xs-12 col-sm-8 col-lg-9">
					<div class="radio radio-inline" ng-repeat="(value,dtitle) in pagedata.action_types">
						<label>
							<input type="radio" value="{{value}}" ng-model="pagedata.current_edit_action.type"/>{{dtitle}}
						</label>
					</div>
					<div class="help-block">选择动作类型</div>
				</div>
			</div>
			<div class="form-group" ng-show="pagedata.current_edit_action.type=='href' || pagedata.current_edit_action.type=='modal'">
					<label class="col-xs-12 col-sm-3 col-md-2 left-label">页面地址</label>
					<div class="col-xs-12 col-sm-8 col-lg-9">
						<div class="input-group">
							<input type="text" class="form-control" placeholder="选择页面"  ng-model="pagedata.current_edit_action.url"/>
							<span class="input-group-btn">
								<button class="btn btn-primary" type="button" ng-click="pagedata.choose_url(pagedata.current_edit_action,'url')"><i class="fa fa-external-link"></i>选择页面</button>
							</span>
						</div>
						<div class="help-block"></div>
					</div>
			</div>
			<div class="form-group" ng-show="pagedata.current_edit_action.type=='post'">
				<label class="col-xs-12 col-sm-3 col-md-2 left-label">设置动作</label>
				<div class="col-xs-12 col-sm-8 col-lg-9">
						<div class="input-group">
							<input type="text" class="form-control" placeholder=""  ng-model="pagedata.current_edit_action.url" readonly />
							<span class="input-group-btn">
								<button class="btn btn-primary" type="button" ng-click="pagedata.op_design(pagedata.current_edit_action,'url',pagedata.current_edit_action.url)"><i class="fa fa-external-link"></i>设置动作</button>
							</span>
						</div>
						<div class="help-block"></div>
				</div>
			</div>
			</div>
            <div class="modal-footer"><a href="javascript:;" aria-hidden="true" data-dismiss="modal" class=" btn btn-primary">确定</a></div>
        </div>
    </div>
</div>
<script>

scope.pagedata.edit_search=function(seh){
	scope.pagedata.current_search=seh;
	window.bootstrap('#floating-content-edit_search').modal();
}

scope.pagedata.edit_action_one=function(ac){
	//设置单个操作按钮的参数
	scope.pagedata.current_edit_action=ac;
	window.bootstrap('#floating-content-edit_action_one').modal();
}
scope.pagedata.edit_th=function(th){
	//设置列参数
	scope.pagedata.current_th=th;
	window.bootstrap('#floating-content-edit_th').modal();
}
scope.pagedata.edit_th_one=function(th_one){
	//设置列显示元素的参数
	scope.pagedata.current_th_field=th_one;
	window.bootstrap('#floating-content-edit_th_one').modal();
}
</script>